package paneles;

import javax.swing.table.DefaultTableModel;

public class mVentas extends DefaultTableModel {
	
	public mVentas (Object[][] data, String[] tit){
		super(data, tit);
	}
	
    public boolean isCellEditable(int f, int c){
    	if((c==1) || (c==3) || (c==5))
          return false;
    	return true;
    }
    
    public Class getColumnClass (int column){
    	if(column == 1) return Long.class;
    	if(column == 2) return Integer.class;
    	if(column > 2) return Double.class;
		return Object.class;		
    }
}
